<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<ui:composition template="/loginPageLayout.xhtml">
	<ui:define name="title">Ingreso</ui:define>
	<ui:define name="content">
		<h:form>
			<div align="center">
				<table align="center">
					<tr>
						<td><h:graphicImage value="images/logo_60.jpg"
								title="Saceem 60" />
						</td>
					</tr>
				</table>
				<p:panel footer="" header="Ingreso Usuarios" toggleable="true"
					closable="false" toggleSpeed="500" style="align:center;margin:3% 20% 30% 20%;">
	
					<h:panelGrid columns="3">
						<h:outputText value="Usuario:" />
						<h:inputText value="#{loginBean.user}" id="user" required="true">
						</h:inputText>
						<h:message for="user" />
						<h:outputText value="Pass" />
						<p:password value="#{loginBean.pass}" id="pass" required="true"
							minLength="6" for="pass" color="red"/>
						<h:message for="pass" />
						<h:commandButton value="Ingresar" action="#{loginBean.login}"></h:commandButton>
					</h:panelGrid>
					<p>
						<h:messages />
					</p>
				</p:panel>
			</div>
		</h:form>
	</ui:define>
</ui:composition>
</html>